﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DisplayOrders.aspx.cs" Inherits="DisplayOrders" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Listi yfir allar pantanir</title>
    <link rel="stylesheet" type="text/css" href="main.css" />
    
</head>
<body>
    <form id="form1" runat="server">
    <!-- Begin Wrapper -->
   <div id="wrapper">
   
         <!-- Begin Header -->
         <div id="header" 
                   style="border: medium outset #FFFFFF; background-image: none; background-color:#0000cd">			   
		     <table style="width:100%;">
                 <tr>
                     <td valign="middle" width="100">
        		        <asp:ImageButton ID="_ibmHomePage" runat="server" Height="97px" 
                            ImageAlign="Left" ImageUrl="~/Myndir/Logo_nota.JPG" Width="84px" 
                            onclick="_ibmHomePage_Click" />
                          
                     </td>
                     <td align="center" valign="middle">
                        <asp:Label ID="_lblHeaderText" runat="server"  ForeColor="White" Text="Tímaskráning.is" 
                             Font-Bold="True" Font-Size="28pt"></asp:Label>
                    </td>
                    <td width="100">                    
                    </td>
                </tr>
             </table>
                                
		 </div>
		 <!-- End Header -->	 
		 

		 <!-- Begin subHeader -->
		 <div id="subHeader"
		        style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
        
		 <table   style="width:100%;">
		    <tr>
		        <td> 
                    <asp:Image ID="_imgConfirm" runat="server" Height="24px" ImageAlign="Right" 
                    ImageUrl="~/Myndir/notaconfirm.JPG" Width="29px" />           
                    <asp:Label ID="_lblOrders" runat="server"  ForeColor="White" Text="Pantanir" Font-Bold="true"></asp:Label>     
		        </td>
            </tr>	         
        </table>		 
       
	     </div>
		 

		 <!-- End subHeader -->
		 
		 <!-- Begin Left Column -->
		 <div id="leftcolumn"              
             style="border: medium outset #FFFFFF; background-color: #0000cd; background-image: none">
		    
		    <table   style="width:100%;">
		        <tr>
		            <td> 
                      <asp:LinkButton ID="_lbtnHomePage" runat="server" ForeColor="White" 
                       onclick="_lbtnHomePage_Click">Forsíða</asp:LinkButton>    
		            </td>
                </tr>	         
            </table>   
         </div>
		 <!-- End Left Column -->
		 
		 <!-- Begin Right Column -->
		 <div id="rightcolumn">
		 
		 <table   style="width:100%;">
		        <tr>
		            <td > 
                      <asp:Label ID="_lblGsmNumber" runat="server"  Width="110px" Text="GSM-Númer:"></asp:Label>
                      <asp:TextBox ID="_txtPhoneNumber" runat="server"></asp:TextBox>
                      <asp:Button ID="_btnViewList" runat="server" Text="Birta lista" 
                           onclick="_btnViewList_Click" CommandArgument="Enter" CommandName="ViewList" 
                            ValidationGroup="ViewList1" />   
		            </td>
                </tr>
                <tr>
		            <td>             
		            </td>
                </tr>
                <tr>
		            <td> 
		              <asp:Label ID="_lblOrdersByPhone" runat="server" Text="Pantanir eftir símanúmeri"></asp:Label>              
		            </td>
                </tr>
                <tr>
		            <td> 
		              <asp:GridView ID="_dtgOrders" runat="server" AutoGenerateColumns="False" 
                          CellPadding="4" ForeColor="#333333" GridLines="None" Width="643px">
                          <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                          <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center"/>
                          <Columns>
                              <asp:BoundField HeaderText="Tími" DataField="Time" ItemStyle-Width="40px" ReadOnly="True" />
                              <asp:BoundField HeaderText="Dags" DataField="Date" ReadOnly="True" ItemStyle-Width ="40px" />
                              <asp:BoundField HeaderText="Viðskiptavinur" DataField="CustomerName" ReadOnly="True" />
                              <asp:BoundField HeaderText="Einyrki" DataField="CompanyName"  ReadOnly="true" />
                              <asp:BoundField HeaderText="Aðgerð" DataField="Action" ReadOnly="True" />
                              <asp:BoundField HeaderText="Starfsmaður" DataField="Workstation" ReadOnly="True" />
                              <asp:BoundField HeaderText="Staða" DataField="IsBooked" ReadOnly="True" />
                          </Columns>
                          <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                          <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                          <HeaderStyle BackColor="#0000cd" Font-Bold="True" ForeColor="White" HorizontalAlign="Center"/>
                          <EditRowStyle BackColor="#2461BF"/>
                          <AlternatingRowStyle BackColor="White" HorizontalAlign="Center"/>
                      </asp:GridView>              
		            </td>
                </tr>	         
            </table>
		 </div>
		 <!-- End Right Column -->
		 
		 <!-- Begin Footer -->
		 <div id="footer" 
             style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
                <table style="width:100%;">
                 <tr>
                     <td align="center">
                        <asp:Label ID="_lblGroup10" runat="server"  ForeColor="White" Text="Hópur10 © 2008" 
                             Font-Bold="False" Font-Size="8pt"></asp:Label>
                    </td>
                </tr>
             </table>
		  </div>
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->
    </form>
</body>
</html>
